var coder = {
    name: "张三",
    age: 20,
    hobby: "敲代码",
    getName: function () {
        return coder.name;
    }
};
console.log(coder.hobby);
console.log(coder.getName());
var pro = {
    name: "李四",
    age: 18,
    hobby: ["敲代码"],
    getName: function () {
        return pro.name;
    }
};
console.log(pro.hobby);
var list = ["hello", "world"];
var buou = {};
buou.name = "TS";
buou.age = 1;
buou.eat = function () {
    console.log("ts eat");
};
buou.eat();
var js = {
    name: "",
    age: 2,
    sayHello: function () {
        console.log("hello World ");
    }
};
js.sayHello();
